package com.next

//企业负债信息表
class AccountDebt
{

    Account account
    //企业
    Integer age = 0
    //账龄
    Account debtClient
    //客户
    CurrencyType currencyType
    //币种
    String description
    //情况说明
    Double amount
    //金额
    Subject subject
    //会计科目
    Date registerDate
    //登记日期
    String registerAccount
    //登记机构
    String registerUser
    //登记人
    String memo
    //备注
    String serialNumber
    //流水号
    Date startTime
    //统计开始时间
    Date endTime
    //统计截止时间

    Date createdDate = new Date()
    User createBy
    Date modifiedDate = new Date()
    User mofifyBy

    static constraints = {

        description nullable: true, blank: true, maxSize: 256
        subject nullable: true, blank: true
        registerDate nullable: true, blank: true
        registerAccount nullable: true, blank: true, maxSize: 64
        registerUser nullable: true, blank: true, maxSize: 32
        memo nullable: true, blank: true, maxSize: 64
        serialNumber nullable: true, blank: true, maxSize: 32
        startTime nullable: true, blank: true
        endTime nullable: true, blank: true
        createdDate nullable: true, blank: true
        createBy nullable: true, blank: true
        modifiedDate nullable: true, blank: true
        mofifyBy nullable: true, blank: true
    }
}
